Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test: make flaky test stricter #33539

Closed
wants to merge 1 commit into from

Conversation

ronag
Copy link
Member

@ronag ronag commented May 24, 2020

Refs: #4066

Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • tests and/or benchmarks are included
  • documentation is changed or added
  • commit message follows commit guidelines

@nodejs-github-bot nodejs-github-bot added the test Issues and PRs related to the tests. label May 24, 2020
@ronag
Copy link
Member Author

ronag commented May 24, 2020

@ronag ronag added the http Issues or PRs related to the http subsystem. label May 24, 2020
Make assertions in flaky test stricter to possibly
make it easier to determine the root cause.

Refs: nodejs#4066
@ronag ronag changed the title test: try to resolve flaky test test: make flaky test strict May 25, 2020
@ronag ronag marked this pull request as ready for review May 25, 2020 06:52
@ronag ronag changed the title test: make flaky test strict test: make flaky test stricter May 25, 2020
@ronag ronag requested a review from BridgeAR May 25, 2020 06:52
@ronag
Copy link
Member Author

ronag commented May 25, 2020

Haven't been able to make the flaky test fail to debug this and it's unclear how it hits the failure. I've made the test a bit stricter hoping that future failures maight provide more information.

@nodejs-github-bot
Copy link
Collaborator

@BridgeAR
Copy link
Member

The error that came up was ERR_STREAM_DESTROYED. It is not clear why the stream was destroyed but this might of course help debugging.

@ronag
Copy link
Member Author

ronag commented May 25, 2020

The error that came up was ERR_STREAM_DESTROYED. It is not clear why the stream was destroyed but this might of course help debugging.

Yes, but that should not happen unless it gets into the "response" state. Which this change ensures it should not.

Copy link
Member

@BridgeAR BridgeAR left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

RSLGTM

@BridgeAR BridgeAR requested review from lpinca and mcollina May 25, 2020 13:42
Copy link
Member

@mcollina mcollina left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@BridgeAR BridgeAR added the author ready PRs that have at least one approval, no pending requests for changes, and a CI started. label May 25, 2020
@ronag
Copy link
Member Author

ronag commented May 26, 2020

Landed in 9949a2e

ronag added a commit that referenced this pull request May 26, 2020
Make assertions in flaky test stricter to possibly
make it easier to determine the root cause.

Refs: #4066

PR-URL: #33539
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
@ronag ronag closed this May 26, 2020
codebytere pushed a commit that referenced this pull request Jun 18, 2020
Make assertions in flaky test stricter to possibly
make it easier to determine the root cause.

Refs: #4066

PR-URL: #33539
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
@codebytere codebytere mentioned this pull request Jun 28, 2020
codebytere pushed a commit that referenced this pull request Jun 30, 2020
Make assertions in flaky test stricter to possibly
make it easier to determine the root cause.

Refs: #4066

PR-URL: #33539
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
codebytere pushed a commit that referenced this pull request Jul 8, 2020
Make assertions in flaky test stricter to possibly
make it easier to determine the root cause.

Refs: #4066

PR-URL: #33539
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
@codebytere codebytere mentioned this pull request Jul 13, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
author ready PRs that have at least one approval, no pending requests for changes, and a CI started. http Issues or PRs related to the http subsystem. test Issues and PRs related to the tests.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants